﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:11
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;


namespace Portal
{

    [Serializable]
    public partial class Order:Entity,IOrder
    {   
    
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        public virtual string Name {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        public virtual string Culture {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        public virtual string Code {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        public virtual string CategoryId {get;set;}
        
    
    
        public virtual long Sort {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Email'字符过长")]
        public virtual string Email {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Qq'字符过长")]
        public virtual string Qq {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Telnet'字符过长")]
        public virtual string Telnet {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Mobil'字符过长")]
        public virtual string Mobil {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'UserId'字符过长")]
        public virtual string UserId {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'UserName'字符过长")]
        public virtual string UserName {get;set;}
        
    
    
        public virtual string Note {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Addrees'字符过长")]
        public virtual string Addrees {get;set;}
        
    
    
        public virtual decimal TotalAmount {get;set;}
        
    }
   }



